﻿using PH5_2004A.Shopping.DAL;
using PH5_2004A.Shopping.IRespository;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PH5_2004A.Shopping.Respository
{
    //仓储：通过数据访问层拿数据，并存起来，供服务层服务使用
    public class EmployeeRespository : IEmployeeRespository
    {
        //PH52004ADbContext context = new PH52004ADbContext();
        //用注册的方式获取实例

        PH52004ADbContext _db;
        public EmployeeRespository(PH52004ADbContext db)
        {
            _db = db;
        }
    }
}
